package c;

import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test {

	public static void main(String[] args) {
		
		ConfigurableApplicationContext configurableApplicationContext = new ClassPathXmlApplicationContext("beans.xml");
		Business business = configurableApplicationContext.getBean(Business.class);
		business.save();
		configurableApplicationContext.close();
	}
	
}
